/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   queen_stack.h                                      :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: TYTY000 <767280080@qq.com>                 +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2024/04/23 14:02:00 by TYTY000           #+#    #+#             */
/*   Updated: 2024/04/23 14:06:34 by TYTY000          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef __QUEEN_STACK__
#define __QUEEN_STACK__

#include <iostream>
using namespace std;
#include "../stack.h"
#include "./queen.h"
#include <cstdio>
#include <cstdlib>

typedef enum { Continuous, Step } RunMode;

extern RunMode runMode;
extern int nSolu;  // ans
extern int nCheck; // try

void placeQueens(const Rank &);
void displayRow(Queen &q, Rank);
void displayProgress(Stack<Queen> &S, Rank);

#include "./displayProgress.h"
#include "./placeQueens.h"
#endif // !__QUEEN_STACK__
